package com.npf.imgserver.common.constant;

/**
 * Created with IDEA
 * <p>
 * 常量类 默认public static final 定义
 * author: NiPengFei
 * Date:18/9/23
 * Time:上午1:10
 */
public interface Constants {

    /*图片 最大限制 4m 4*1024*1000 */
    Integer IMG_CONTENT_LIMIT = 4096000;

    /*图片 上传路径*/
    String IMG_UPLOAD_URL = "/Users/zwx/Pictures/testImage";
//    String IMG_UPLOAD_URL = "/Users/a/Desktop/img";

    /*图片后缀名*/
    String IMG_SUFFIX = ".jpg";

    /*服务器IP*/
    String HOST_IP = "http://127.0.0.1:9090";

    /*url资源访问映射地址*/
    String IMG_PATH_URL = "/images";

    /*url资源映射物理地址 Mac OS系统*/
    String IMG_MAPPING_PATH_MAC = "/Users/zwx/Pictures/testImage";

    /*url资源映射物理地址 Windows系统*/
    String IMG_MAPPING_PATH_WINDOWS = "file:/D:/ImgUpload/";

    /*url资源映射物理地址 Linux系统*/
    String IMG_MAPPING_PATH_LINUX = "/Users/a/Desktop/img/";

    /*customer_list redis key*/
    String REDIS_CUSTOMER_LIST = "redis_customer_list";

    /*windows环境 斜线*/
    String WINDOWS_SEPARATOR = "/";

}
